﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StyleMVVM.DependencyInjection;
using StyleMVVM.Messenger;
using StyleMVVM.UnitTests.TestClasses.SimpleObjects;

namespace StyleMVVM.UnitTests.Messenger
{
	[Export(typeof(DispatchedMessageHandlerObject))]
	public class DispatchedMessageHandlerObject
	{
		public int TestInt { get; set; }

		[MessageHandler]
		public void ExportTypeHandler(SimpleType simpleMessage)
		{
			TestInt = simpleMessage.TestInt;
		}
	}
}